package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @author RJ
 * @date 2022/9/13 16:10
 */
/*
    区域一览
 */
@TableName("area_info")
public class AreaBean {
    //区域id
    @TableId(value = "area_id", type = IdType.AUTO)
    private Integer areaId;
    //名称
    @TableField("area_name")
    private String areaName;
    //林种
    @TableField("area_forest_type")
    private String areaForestType;
    //优势树种
    @TableField("area_tree_type")
    private String areaTreeType;
    //地类
    @TableField("area_land_type")
    private String areaLandType;
    //所在小班
    @TableField("class_name")
    private String className;

    public AreaBean() {
    }

    public AreaBean(String areaName, String areaForestType, String areaTreeType, String areaLandType) {
        this.areaName = areaName;
        this.areaForestType = areaForestType;
        this.areaTreeType = areaTreeType;
        this.areaLandType = areaLandType;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getAreaForestType() {
        return areaForestType;
    }

    public void setAreaForestType(String areaForestType) {
        this.areaForestType = areaForestType;
    }

    public String getAreaTreeType() {
        return areaTreeType;
    }

    public void setAreaTreeType(String areaTreeType) {
        this.areaTreeType = areaTreeType;
    }

    public String getAreaLandType() {
        return areaLandType;
    }

    public void setAreaLandType(String areaLandType) {
        this.areaLandType = areaLandType;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    @Override
    public String toString() {
        return "AreaBean{" +
                "areaId=" + areaId +
                ", areaName='" + areaName + '\'' +
                ", areaForestType='" + areaForestType + '\'' +
                ", areaTreeType='" + areaTreeType + '\'' +
                ", areaLandType='" + areaLandType + '\'' +
                ", className='" + className + '\'' +
                '}';
    }
}
